module.exports = [{
	type: "checkbox",
	message: "选择项目需要的第三方模块:",
	name: "modules",
	choices: [
		{
			name: "axios",
			value: "vue-axios",
			checked: true
		},
		{
			name: "element-ui",
			value: "element-ui",
			checked: true
		},
		{
			name: "fontawesome",
			value: "vue-awesome"
		},
		// new inquirer.Separator("--- 分隔符 ---"), // 自定义分隔符
		{
			name: "echarts",
			value: "echarts"
		}
	]
}, {
	type: "rawlist",
	message: "选择预设的布局:",
	name: "layout",
	choices: [
		{
			name: "经典布局——http://xuanyusan.gitee.io/apps_web/#layout_common",
			value: "common",
			checked: true
		},
		{
			name: "侧边栏布局——http://xuanyusan.gitee.io/apps_web/#layout_common",
			value: "sidebar",
		},
		{
			name: "从零开始",
			value: "none"
		},
	],
	when: (option) => {
		return option.modules.includes('element-ui');
	}
}, {
	type: "rawlist",
	message: "选择预设的色系:",
	name: "theme",
	choices: [
		{
			name: "官方色系——http://xuanyusan.gitee.io/apps_web/#theme_official",
			value: "official",
			checked: true
		},
		{
			name: "clrs色系——http://xuanyusan.gitee.io/apps_web/#theme_clrs",
			value: "clrs"
		},
		{
			name: "adobe色系——http://xuanyusan.gitee.io/apps_web/#theme_adobe",
			value: "adobe"
		},
		{
			name: "秋色系——http://xuanyusan.gitee.io/apps_web/#theme_fall",
			value: "fall"
		}
	],
	when: (option) => {
		return option.modules.includes('element-ui');
	}
}];
